package com.crscd.springbootmapper4.entity;

import java.io.Serializable;
import javax.persistence.Id;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2019-05-31 下午1:27
 */
@Data
public class Country implements Serializable {
    private static final long serialVersionUID = 2471774921927600178L;
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private String countryname;
    private String countrycode;
}
